package ys.ewp.tool;

import java.text.SimpleDateFormat;
import java.util.Date;

public class FormatDate {
	
	public static String formatDate(Date date){
		SimpleDateFormat dateFm = new SimpleDateFormat("yyyy-MM-dd");
		return dateFm.format(date);
	}
	
}
